package com.example.douyin.service.impl;

import com.example.douyin.bean.DouYinSourceBean;
import com.example.douyin.mapper.DouYinSourceMapper;
import com.example.douyin.service.DouYinSourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DouYinSourceServiceImpl implements DouYinSourceService {
    @Autowired
    DouYinSourceMapper douYinSourceMapper;

    @Override
    public List<DouYinSourceBean> getDouYinSource() {
        return douYinSourceMapper.douYinSourceMapper();
    }
}
